<h2>收支记账</h2>
<br>
<!-- NAVI -->
<ul class="nav nav-tabs" id="PageTab">
	<li class="active"><a href="#adminid" data-toggle="tab"
	                      onclick="$('#newid2').css('display','none');$('#newid').css('display','none');$('#adminid').css('display','');"
	                      aria-expanded="true">支出</a>
	</li>
	<li class=""><a href="#newid" data-toggle="tab"
	                onclick="$('#newid').css('display','');$('#adminid').css('display','none');$('#newid2').css('display','none');"
	                aria-expanded="false">存入</a>
	</li>
</ul>
<br>
<!-- END NAVI -->

<!-- PAGE1: ADMINID-->
<div class="tab-pane fade active in" id="adminid">
	<a name="#adminid"></a>
	<form action="index.php?mod=expense&cast" method="post">
		<div class="input-group">
			<span class="input-group-addon">方式</span>
			<select name="mode" class="form-control" required="">
				<option value="其它">其它</option>
				<option value="交通">交通</option>
				<option value="住宿">住宿</option>
				<option value="采购">采购</option>
				<option value="餐饮">餐饮</option>
			</select>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon">金额</span>
			<input type="text" class="form-control" name="sum" required="">
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon">备注</span>
			<input type="text" class="form-control" name="remark">
		</div>
		<br>
		<div class="input">
			<input type="submit" class="btn btn-primary" value="立即保存">
		</div>
	</form>
</div>
<!-- END PAGE1 -->

<!-- PAGE2: NEWID -->
<div class="tab-pane fade" id="newid" style="display: none;">
	<form action="index.php?mod=expense&save" method="post">
		<div class="input-group">
			<span class="input-group-addon">金额</span>
			<input type="text" class="form-control" name="sum" required="">
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon">备注</span>
			<input type="text" class="form-control" name="remark" required="">
		</div>
		<br>
		<div class="input">
			<input type="submit" class="btn btn-primary" value="立即保存">
		</div>
	</form>
</div>
<!-- END PAGE2 -->